<template>
    <div class="app-container"  >
        <div class="search-container">
            <el-form ref="queryFormRef" :model="queryParams" :inline="true">
                <el-form-item label="关键词">
                    <el-input v-model="queryParams.name" class="min120" placeholder="请输入项目名称" clearable />
                </el-form-item>
                <el-form-item>
                    <el-button @click="handleQuery" type="primary"><i-ep-search />搜索</el-button>
                    <el-button @click="resetQuery"><i-ep-refresh />重置</el-button>
                </el-form-item>
            </el-form>
        </div>
			
    </div>
</template>
<script setup lang="ts">

defineOptions({
    name: "Finance",
    inheritAttrs: false,
});
import { Plus } from '@element-plus/icons-vue'
import { genFileId, ClickOutside as vClickOutside, UploadInstance, TabsPaneContext } from 'element-plus'
import { parseQuery, useRoute } from 'vue-router';
import Editor from "@/components/WangEditor/index.vue";
import router from '@/router';
import {imageType,feilType,checkFileUploadStatus} from "@/utils/funcall";


const queryFormRef = ref(ElForm);
const dataFormRef = ref(ElForm)



const loading = ref(false);
const ids = ref<number[]>([]);
const total = ref(0);
const route = useRoute();
const reload = ref();
const dataList = ref();

const dialogAdd = reactive<DialogOption>({
    visible: false,
    title:""
});

const queryParams = reactive({
    page: 1,
    limit: 20,
	name:""
})
const formData = ref<any>({
    dkzt:"",
    xmmc: "",
    jgmc: "",
    dknx:"",
	dkqsr:"",
	dkzzr:"",
	nlv:"",
	dbfs:"",
	xyje:"",
	yue:"",
	sfyxzw:"",
	fxfs:"",
	fjsc:""
});




// 点击搜索
function handleQuery(){
	queryParams.page = 1;
	initInitializeData();
}
//列表查询
function initInitializeData(){
	
}
//重置搜索
function resetQuery(){
	queryFormRef.value.resetFields();
	queryParams.page = 1;
	queryParams.name = '';
	handleQuery();
}

onMounted(() => {
	initInitializeData();
})

</script>
<style lang="scss" scoped>


</style>